# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=libretro-bluemsx
pkgver=0_git20200402
pkgrel=0
_commit="b5670571342a533193024eede34472a6d3498f62"
pkgdesc="port of blueMSX to the libretro API"
url="https://github.com/libretro/blueMSX-libretro"
arch="all"
license="GPL-2.0-only"
source="$pkgname-$_commit.tar.gz::https://github.com/libretro/blueMSX-libretro/archive/$_commit.tar.gz"
builddir="$srcdir/blueMSX-libretro-$_commit"
options="!check" # No tests

build() {
	make -f Makefile.libretro
}

package() {
	install -Dm644 bluemsx_libretro.so "$pkgdir"/usr/lib/libretro/bluemsx_libretro.so
}

sha512sums="e80640040c16ab70ad08d69fec98be6f20dc01038812d211a75eb206312ac4fcdaff21bcdef43ef5d924d341dc866213dd1b1da954fc54a585b5dbd612d06c92  libretro-bluemsx-b5670571342a533193024eede34472a6d3498f62.tar.gz"
